package edu.whut.mall.admin.enums;

/**
 * @program: d9lab-mall
 * @description: 各种状态
 * @author: Wayne
 * @create: 2020-04-20 15:17
 **/
public enum SysStatusEnum {
    /**
     * 管理员账号状态
     */
    禁用("禁用", 0),
    正常("正常", 1);

    private  String desc;
    private  Integer code;

    SysStatusEnum(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public Integer getCode() {
        return code;
    }
}

